From 55a1f8ccfd27c50b17cf2b91a7e4710db239c7b8 Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Tue, 3 Jul 2018 18:54:33 +0100 Subject: [PATCH] HC: merge dupe selectors; linebreaks for legibility --- gtk/theme/HighContrast/_common.scss | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index 5b7cab92f1..4150fd82a0 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -2482,22 +2482,22 @@ progressbar { border-color: $borders_color; background-color: mix($borders_color,$bg_color, 35%); box-shadow: inset 1px 1px transparentize(black, 0.9); + &:backdrop { border-color: $backdrop_borders_color; background-color: mix($backdrop_borders_color,$backdrop_bg_color, 35%); box-shadow: 0 1px transparentize(white,1); } } + &.osd trough { background-color: transparent; box-shadow: none; border-width: 0; //FIXME: there is a margin on top } -} -// moving bit -progressbar { + // moving bit &.horizontal { trough, progress { min-height: 2px; } } @@ -2510,21 +2510,26 @@ progressbar { border-radius: 3px; border-color: $selected_borders_color; background-color: $selected_bg_color; + // I really prefer these flat w/o this shadow - Lapo box-shadow: inset 0 1px 0 transparentize($borders_edge,0.8); + &.vertical { box-shadow: inset 1px 0 0 transparentize($borders_edge,0.8); } + &:backdrop { border-color: $selected_bg_color; background-color: $selected_bg_color; box-shadow: none; } + &.osd { border-width: 0; border-radius: 0; } } + trough.empty progress { all: unset; } // make the progress indicator disappear when the fraction is 0 } -- 2.30.2